# -*- conding:utf8 -*-
'''
Created on 2011-5-22

@author: Vendar
'''

from PyQt4 import QtGui,QtCore
from ui import AboutDlg_ui

class AboutDlg(QtGui.QDialog):
    def __init__(self,parent=None,wflags=0):
        super(QtGui.QDialog,self).__init__(parent)
        self.ui = AboutDlg_ui.Ui_AboutDlg()
        self.ui.setupUi(self)
        
        #setup connections
        self.ui.OKButton.clicked.connect(self.OnOK)
        
    @QtCore.pyqtSlot()
    def OnOK(self):
        self.accept()
        